﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using JXT.PrimaryKey.Batman.Domain.Models;
using JXT.PrimaryKey.Batman.Domain.Services;
using JXT.PrimaryKey.Batman.Domain.Specifications;
using JXT.PrimaryKey.Batman.Domain.UserSystem.Models;

namespace JXT.PrimaryKey.Batman.Domain.UserSystem.Services
{
    public interface IAuthorityTemplateService : ICachedService
    {
        void Save(AuthorityTemplate entity);

        void Delete(AuthorityTemplate entity);

        IEnumerable<AuthorityTemplate> GetList();

        void FillAuthority(Authority authority);

        void FillAuthorityEnumerable(IEnumerable<Authority> source);
    }
}
